def hextorgb(c):
	if len(c) == 6:
		split = (c[0:2], c[2:4], c[4:6])
		return [int(x, 16) for x in split]
	else:
		return [0,0,0]
	
def tiles():	
	return {
			0:[ " ","000000", "000000"], #empty space
			1:[ ".","f3d070", "000000"], #sand
			2:[ ",","81620c", "000000"], #dirt
			3:[ "#","9e9e9e", "000000"], #rock1
			4:[ "#","cfcfcf", "000000"], #rock2
			5:[ "%","cf6600", "000000"], #copper
			6:[ "&","575757", "000000"], #iron
			7:[ "*","e325b0", "000000"], #rubies
			
			-1:[ ".", "000000", "065a00"], #grass
			-2:[ ",", "000000", "527e1a"], #brush
			-3:[ ".", "000000", "ffffff"], #stone floor
			
			-4:[ ">", "000000", "ffffff"], 
			-5:[ "<", "000000", "ffffff"]
	}